package pattern.singleton;

/**
 * Created by boot on 9/8/15.
 */
public class SingletonX {
    private static class SingletonHolder {
        private static final SingletonX INSTANCE = new SingletonX();
    }

    private SingletonX() {
    }

    public static final SingletonX getInstance() {
        return SingletonHolder.INSTANCE;
    }
}
